/* 
  Wrapper for wchar.h
*/

/*
 *      C/C++ Run Time Library - Version 1.0
 *
 *      Copyright (c) 2002 by Borland Software Corporation
 *      All Rights Reserved.
 *
 */


#include <_defs.h>

/*
   According to the Linux man pages, stdio.h
   should be included before wchar.h when
   using widechar functions.
*/
#include <stdio.h>

/* __USE_ISOC99 must be set to get
   widechar functions declared.
*/
#ifndef __USE_ISOC99
# define __USE_ISOC99_UNDEFINED
# define __USE_ISOC99
#endif

/* We define this before including GNU wchar.h to account for 
   a type name change in newer GNU wchar.h.
*/
#ifdef __cplusplus
#define __mbstate_t mbstate_t
#endif

#include _STD_HEADER_(wchar.h)

#ifdef __USE_ISOC99_UNDEFINED
# undef __USE_ISOC99
#endif

